package ken.app.bean;

import java.io.Serializable;
import java.sql.Timestamp;

import com.she.olympic.TreeActivity;

import ken.app.even.SeverTimeEvent;

public class GetCameraBabyBean
{ 
//  /* News的四個變數 */

	private int baby_id= -1;
	private String baby_name="";
	private int baby_score= -1;
	private int baby_percent= -1;
	private int baby_type = -1;
	private String pic="";
	private String showImg ="";
	private String camera1="";
	private String camera2="";
	private String camera3="";
	private String camera4="";
	private String camera5="";
	private String camera6="";
	private String camera7="";
	private String camera8="";
	private String camera9="";
	private String camera10="";
	private String url="";
	private String type_name="";
	private String gift_product="";
		
	public GetCameraBabyBean(int babyid ,String babyname ,int babyscore ,int babypercent ,String pic ,String camera1, String camera2, String camera3, String camera4, String camera5, String camera6
			, String camera7, String camera8, String camera9, String camera10, int type , String url, String typename, String giftproduct){
		baby_id= babyid;
		baby_name= babyname;
		baby_score= babyscore;
		baby_percent= babypercent;
		baby_type = type;
		this.camera1= camera1;
		this.camera2= camera2;
		this.camera3= camera3;
		this.camera4= camera4;
		this.camera5= camera5;
		this.camera6= camera6;
		this.camera7= camera7;
		this.camera8= camera8;
		this.camera9= camera9;
		this.camera10= camera10;
		this.pic= pic;
		this.url= url;
		this.type_name= typename;
		this.gift_product = giftproduct;
	}
	
	public GetCameraBabyBean(){
		
	}

	public void setBabyType(int babytype){
		baby_type = babytype;
	}
	
	public int getBabyType(){
		return baby_type;
	}
	
	public void setBabyId(int babyid){
		baby_id = babyid;
	}
	
	public int getBabyId(){
		return baby_id;
	}
	
	public void setBabyName(String babyname){
		baby_name = babyname;
	}
	
	public String getBabyName(){
		return baby_name;
	}
	
	public void setGiftProduct(String giftproduct){
		gift_product = giftproduct;
	}
	
	public String getGiftProduct(){
		return gift_product;
	}
	
	public void setTypeName(String typename){
		type_name = typename;
	}
	
	public String getTypeName(){
		return type_name;
	}
	
	public void setBabyScore(int babyscore){
		baby_score = babyscore;
	}
	
	public int getBabyScore(){
		return baby_score;
	}
		
	public void setBabyPercent(int babypercent){
		baby_percent = babypercent;
	}
	
	public int getBabyPercent(){
		return baby_percent;
	}
		
	public void setPic(String pic){
		this.pic = pic;
//		String temp = pic.replaceAll(TreeActivity.SEVER_API + "/pic/baby/", "");
//		temp = temp.replaceAll("-", "_");
//		temp = temp.replaceAll(".png", "");
//		setShowImg(temp);
//		temp = null;
	}
	
	public String getPic(){
		return this.pic;
	}
	
	public void setShowImg(String showImg){
		this.showImg = showImg;
	}
	
	public String getShowImg(){
		return this.showImg;
	}
	
	public void setCamera1(String camera1){
		this.camera1 = camera1;
//		String temp = camera1.replaceAll(TreeActivity.SEVER_API + "/pic/camera/", "");
		String temp = camera1.replaceAll(TreeActivity.SEVER_API+"/pic/camera/", "");
		temp = temp.replaceAll("-", "_");
		temp = temp.replaceAll(".png", "");
		setShowImg(temp);
		temp = null;
	}
	
	public String getCamera1(){
		return this.camera1;
	}
	
	public void setCamera2(String camera2){
		this.camera2 = camera2 ;
	}
	
	public String getCamera2(){
		return this.camera2;
	}
	
	public void setCamera3(String camera3){
		this.camera3 = camera3 ;
	}
	
	public String getCamera3(){
		return this.camera3;
		
	}
	
	public void setCamera4(String camera4){
		this.camera4 = camera4 ;
	}
	
	public String getCamera4(){
		return this.camera4;
	}
	
	public void setCamera5(String camera5){
		this.camera5 = camera5 ;
	}
	
	public String getCamera5(){
		return this.camera5;
	}
	
		public void setCamera6(String camera6){
		this.camera6 = camera6 ;
	}
	
	public String getCamera6(){
		return this.camera6;
	}
	
	public void setCamera7(String camera7){
		this.camera7 = camera7 ;
	}
	
	public String getCamera7(){
		return this.camera7;
	}
	
	public void setCamera8(String camera8){
		this.camera8 = camera8 ;
	}
	
	public String getCamera8(){
		return this.camera8;
	}
	
	public void setCamera9(String camera9){
		this.camera9 = camera9 ;
	}
	
	public String getCamera9(){
		return this.camera9;
	}
	
	public void setCamera10(String camera10){
		this.camera10 = camera10 ;
	}
	
	public String getCamera10(){
		return this.camera10;
	}

	public void setUrl(String url){
		this.url = url;
	}
	
	public String getUrl(){
		return this.url;
	}
}